package 实验.实验四;

public class Troangle extends Shape{
    private double base;
    private double height;
    public Troangle(double base, double height) {
        this.base = base;
        this.height = height;
        this.area = 0.5 * base * height;
    }
}
